<?php slot('header')?>
<style type="text/css">
.p-more{
	padding: 0px 0px;
	background: #F7EEDD;
}
</style>
<script type="text/javascript">
$(function(){
	MAIN.setMenu('m-product');
	$('div#hz-multi-menu-sub').css('margin-left',(parseInt(($('div#hz-multi-menu-sub').width()-101)/2,10)*-1) + 'px');
});
</script>
<?php end_slot()?>
<?php slot('rhead')?>
<?php include_component('componentUlti', 'slide')?>
<?php end_slot()?>
<div class="hline" style="border-top: 2px solid #fff"></div>
<div class="logo-none-slogan product" id="hz-multi-menu-parent">
	<img src="/css/daiviet/img/vi/cate.png" class="hz-multi-menu" data-id-sub="hz-multi-menu-sub" data-id-parent="hz-multi-menu-parent"/>
	<div id="hz-multi-menu-sub" class="hz-multi-menu-sub">
		<ul id="product-cate-id" class="hz-multi-menu-sub">
			<?php foreach($data['cates'] as $cate):?>
			<li><a href="<?php echo url_for2('product_cate', array('cate_name' => UserStringHelper::titleToAddress($cate['name']),'cate_id' => $cate['id']))?>"><?php echo $cate['name']?></a></li>
			<?php endforeach;?>
		</ul>
	</div>
</div>
<div class="hz-clr"></div>
<div class="p-title product">Sản phẩm phần mềm</div>
<?php foreach($data['products'] as $cate):?>
<div class="hz-clr"></div>
<div class="p-title"><span class="product-sub"><?php echo $cate['name']?></span></div>
<div id="product-list">
	<?php foreach($cate['items'] as $val): ?>
	<div class="item">
		<div class="img"><img src="<?php echo $val['photo_url']?>" title="<?php echo html_entity_decode($val['name'])?>" alt="<?php echo html_entity_decode($val['name'])?>"/></div>
		<div class="title hz-text-overflow"><a href="<?php echo url_for2('product_detail',array('id' => $val['id'], 'name' => UserStringHelper::titleToAddress($val['name'])))?>" title="<?php echo html_entity_decode($val['name'])?>" alt="<?php echo html_entity_decode($val['name'])?>"><?php echo html_entity_decode($val['name'])?></a></div>
		<div class="pr-class hz-text-overflow"><?php echo ($val['class_name'])?></div>
		<div class="menufac hz-text-overflow"><?php echo ($val['manu_name'])?></div>
		<div class="price money-show"><?php echo $val['price']?></div>
	</div>
	<?php endforeach?>
	<div class="hz-clr"></div>
</div>
<?php endforeach?>
<div class="hz-clr"></div>
<div class="p-more">
	<div class="p-title"><span class="product-sub">Hướng dẫn mua sản phầm phần mềm Đại Việt</span></div>
	<div class="content-padding"><?php echo (SysPages::getContent(SysPages::PRODUCT_NOTE))?></div>
	<div class="hz-clr"></div>
</div>		
